package com.gdou.service;

import com.gdou.commons.Result;
import com.gdou.dto.DeptDto;
import com.gdou.model.Dept;

public interface DeptService {

    Result findAllDepts();


    Result findDeptsByPage(Integer pageNum, Integer pageSize);

    Result saveDepts(DeptDto deptDto);

    Result deleteDept(Long id);

    Result editDept(Dept dept);
}
